<?php
class izcoolControl extends Control{
	function index(){
$this->display('izcool_myindex.html');
}
function upload_iworks(){//上传原创作品s
    $db=M('sort');
    $row=$db->all();
    $db1=M('color');
    $row1=$db1->all();
    $this->assign('color',$row1);//颜色表
    $this->assign('sort',$row);//软件表
    $this->display('izcool_upload_iworks.html');
}
function upload_article(){//上传经验
    $this->display('izcool_upload_article.html');
}
function upload_material(){//上传素材
    $this->display('izcool_upload_material.html');
}
function create_group(){//创建小组
    $this->display('izcool_create_group.html');
}
//.........................原创作品............................................
function works(){//管理我的作品
    $this->display('izcool_mananer_myworks.html');
}
function friend_works(){//好友的作品
    $this->display('izcool_mananer_friend_works.html');
}
function follow_works(){//我关注好友的作品
    $this->display('izcool_mananer_friend_works.html');
}
function comment_works(){//我评论过的作品
    $this->display("izcool_mananer_friend_works.html");
}

//.........................经验分享............................................
function articles(){//管理我的经验
    $this->display('izcool_mananer_myworks.html');
}
function friend_articles(){//好友的经验
    $this->display('izcool_mananer_friend_works.html');
}
function follow_articles(){//我关注酷友的经验
    $this->display('izcool_mananer_friend_works.html');
}
function comment_articles(){//我评论过的经验
    $this->display("izcool_mananer_friend_works.html");
}

}

?>